Kanzi 4.0.0-beta2
kanzi::gfx::SetScissorCommand Struct Reference

Sets the scissor coordinates. More...

#include <kanzi/gfx/commands.hpp>

Inheritance diagram for kanzi::gfx::SetScissorCommand:
[legend]

Public Member Functions

 SetScissorCommand ()
 Constructor.
 
- Public Member Functions inherited from kanzi::gfx::BaseCommand
uint32_t getSize () const
 Gets the command size in bytes.
 
uint8_t getTag () const
 Gets the command tag.
 
CommandType getType () const
 Gets the command type.
 
void setTag (uint8_t tag)
 Sets the command tag.
 

Public Attributes

rects32 scissor
 Scissor rectangle.
 

Additional Inherited Members

- Protected Member Functions inherited from kanzi::gfx::BaseCommand
 BaseCommand (CommandType t, uint32_t s)
 Constructor.
 
 BaseCommand (const BaseCommand &other)
 Copy Constructor.
 
BaseCommandoperator= (const BaseCommand &other)
 Assignment operator.
 

Detailed Description

Sets the scissor coordinates.

The scissor coordinates are set also by a BeginRenderPassCommand.

Since
Kanzi 4.0.0

Constructor & Destructor Documentation

◆ SetScissorCommand()

kanzi::gfx::SetScissorCommand::SetScissorCommand ( )
inlineexplicit

Constructor.

Member Data Documentation

◆ scissor

rects32 kanzi::gfx::SetScissorCommand::scissor

Scissor rectangle.


The documentation for this struct was generated from the following file: